﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SlaughterItem.Common.Domains.Warehouse
{
    /// <summary>
    /// 仓库表
    /// </summary>
    public class WarehouseData
    {
        /// <summary>
        /// 仓库ID
        /// </summary>
        [Key]
        public int DepotId {  get; set; }
        /// <summary>
        /// 入库类型
        /// </summary>
        public int StoreTypeId {  get; set; }
        /// <summary>
        /// 入库仓库
        /// </summary>
        public int DepotTypeId {  get; set; }
        /// <summary>
        /// 商品代号
        /// </summary>
        public string CodeName { get; set; } = string.Empty;
        /// <summary>
        /// 入库件数
        /// </summary>
        public int StorageJnum {  get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public int StorageNum {  get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string UserName {  get; set; }=string.Empty;
        /// <summary>
        /// 单据号 
        /// </summary>
        public string LiveAnimalsDocument { get; set; } = string.Empty;
        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime BilsTime {  get; set; }=DateTime.Now;  
        /// <summary>
        /// 是否删除仓库{false=不删除；true=删除}
        /// </summary>
        public bool IsDepot {  get; set; }=false;
    }
}
